package com.fintech.datagroud.dao.moxie;

import java.util.List;

import com.fintech.third.model.moxie.dataprovide.IntMxAccountBaseInfo;

public interface IntMxAccountBaseInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IntMxAccountBaseInfo record);

    int insertSelective(IntMxAccountBaseInfo record);
    
    int updateMxAccountBaseInfo(IntMxAccountBaseInfo record);

    IntMxAccountBaseInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IntMxAccountBaseInfo record);

    int updateByPrimaryKey(IntMxAccountBaseInfo record);
    
    /**
     * 查询运营商账户基本信息<br>
     * 这里因为loanId非唯一索引，所以用list
     * wanggang
     * @param loanId
     * @return
     */
    List<IntMxAccountBaseInfo> selectByLoanId(String loanId);
}